/*
 *------------------------------------------------------------------------------
 * @File      :    ei_mai_nna.h
 * @Date      :    2021-4-8
 * @Author    :    lomboswer <lomboswer@lombotech.com>
 * @Brief     :    Media Interface for MADP(Media Development Platform).
 *
 * Copyright (C) 2020-2021, LomboTech Co.Ltd. All rights reserved.
 *------------------------------------------------------------------------------
 */

#ifndef __EI_NNA_FACE_CLARITY_MASK_DEFINE_H__
#define __EI_NNA_FACE_CLARITY_MASK_DEFINE_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "ei_nna_fd_define.h"

#define DEFAULT_NNA_FACE_CLARITY_MASK_CONFIG_MAX_DET_CNT (30)

typedef struct eiNNA_FACE_CLARITY_MASK_CONFIG_S {
	EI_CHAR *ModelRootPath;

	EI_S32 s32Width;
	EI_S32 s32Height;

	EI_NNA_AX_FREQ_S stFreq;
} EI_NNA_FACE_CLARITY_MASK_CONFIG_S;

typedef enum eiNNA_FACE_CLARITY_MASK_LEVEL_E {
	NNA_FACE_CLARITY_MASK_LEVLE0,
	NNA_FACE_CLARITY_MASK_LEVLE1,
	NNA_FACE_CLARITY_MASK_LEVLE2,
	NNA_FACE_CLARITY_MASK_LEVLE3,
	NNA_FACE_CLARITY_MASK_LEVLE4,
	NNA_FACE_CLARITY_MASK_LEVLE5,
	NNA_FACE_CLARITY_MASK_LEVLE6,
	NNA_FACE_CLARITY_MASK_LEVLE7,
} EI_NNA_FACE_CLARITY_MASK_LEVEL_E;

typedef struct eiNNA_FACE_CLARITY_MASK_S {
	EI_S32 s32Score;
	EI_NNA_FACE_CLARITY_MASK_LEVEL_E enLevel;
} EI_NNA_FACE_CLARITY_MASK_S;

typedef struct eiNNA_FACES_CLARITY_MASK_S {
	EI_S32 s32Num;
	EI_NNA_FACE_CLARITY_MASK_S stFacesClarityMask[DEFAULT_NNA_FACE_CLARITY_MASK_CONFIG_MAX_DET_CNT];
} EI_NNA_FACES_CLARITY_MASK_S;

typedef EI_S32 NNA_FMC_CHN;
typedef EI_NNA_FACE_CLARITY_MASK_CONFIG_S EI_NNA_FMC_CONFIG_S;
typedef EI_NNA_FACES_CLARITY_MASK_S EI_NNA_DST_FMC_S;
typedef EI_NNA_FACES_S EI_NNA_SRC_FMC_S;


#ifdef __cplusplus
}
#endif

#endif
